<template>
  <web src="http://192.168.78.48/highlight/test.html" class="webview"></web>
</template>

<style scoped>
.webview {
  width: 750px;
  flex: 1;
  background-color: red;
}
</style>

<script>
  let modal = weex.requireModule('modal');
  import utils from './utils.js';
  let url = weex.config.bundleUrl;
  let name = utils.getQueryParam(url, 'name');
  if (name) {
    modal.toast({
      message: 'param: name = ' + name,
      duration: 2
    })
  }
</script>
